package service

import (
	"context"
	v1 "xiaofei-demo/api/service/v1"
	"xiaofei-demo/app/service/internal/biz"
)

func (s *Service) GetUser(ctx context.Context, req v1.UserRequest) (v1.UserResponse, error) {
	g := &biz.Greeter{}
	_ = s.uc.Create(ctx, g)
	name := req.Name
	rep := v1.UserResponse{
		Msg: "hello," + name,
	}
	return rep, nil
}

